<?php include("menu.php"); ?>
<p>This is my home page that uses a common menu to save me time when I add
new pages to my website!</p>
</body>
</html>

<?php
$my_name = "oooxxx";

if ( $my_name == "oooxxx" ) {
	echo "Your name is someguy!<br />";
}
echo "Welcome to my homepage!";



$number_three = 3;

if ( $number_three != 3 ) 
{
	echo "<br \> The if statement evaluated to true";
} 
else 
{
	echo "<br \>The if statement evaluated to false";
}

?>

<?php

$destination = "Tokyo";
echo "Traveling to $destination<br /> <br />";
switch ($destination){
	case "Las Vegas":
		echo "Bring an extra $500";
		break;
	case "Amsterdam":
		echo "Bring an open mind";
		break;	
	case "Egypt":
		echo "Bring 15 bottles of SPF 50 Sunscreen";
		break;	
	case "Tokyo":
		echo "Bring lots of money";
		break;
	case "Caribbean Islands":
		echo "Bring a swimsuit";	
}

?>


<?php
$destination = "New York";
echo "Traveling to $destination<br />";
switch ($destination){
	case "Las Vegas":
		echo "Bring an extra $500";
		break;
	case "Amsterdam":
		echo "Bring an open mind";
		break;
	case "Egypt":
		echo "Bring 15 bottles of SPF 50 Sunscreen";
		break;	
	case "Tokyo":
		echo "Bring lots of money";
		break;	
	case "Caribbean Islands":
		echo "Bring a swimsuit";
		break; 	
	default:
		echo "Bring lots of underwear!";
}
?>

<?php
if(get_magic_quotes_gpc())
	echo "Magic quotes are enabled";
else
	echo "Magic quotes are disabled";
?>
